package com.one.utils;

import com.one.enums.ErrorEnum;
import com.one.interceptor.BizException;

import java.util.Arrays;
import java.util.Collections;

public class DataUtils {
    public static boolean[] getEvaluationOptions(String[] data){
        boolean[] options = new boolean[1000];
        for(String item:data){
            if(item!=null && !item.equals("")){
                options[Integer.parseInt(item)] = true;
            }
        }
        return options;
    }
}
